cc_library(
    name = "httplib",
    hdrs = ["httplib.h"],
    features = [
        "parse_headers",
    ],
    deps = [
        "@boringssl//:ssl",
        "@zlib//:zlib",
    ],
    copts = [
        "-DCPPHTTPLIB_OPENSSL_SUPPORT",
        "-DCPPHTTPLIB_ZLIB_SUPPORT",
    ],
    visibility = ["//visibility:public"],
)

alias(
    name = "cpp-httplib",
    actual = ":httplib",
    visibility = ["//visibility:public"],
)
